package lab02.test37;

/**
 * Created by dell on 2017/11/15.
 */
public class Undergraduate extends Student {

    @Override
    String calGrade() {

        double avg = calAverage();
        if (avg > 60) {
            grade = "通过";
        } else {
            grade = "不通过";
        }
        return grade;
    }
}
